package com.dwxt.cdms.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YouthHopeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YouthHopeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andReportidIsNull() {
            addCriterion("reportId is null");
            return (Criteria) this;
        }

        public Criteria andReportidIsNotNull() {
            addCriterion("reportId is not null");
            return (Criteria) this;
        }

        public Criteria andReportidEqualTo(String value) {
            addCriterion("reportId =", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidNotEqualTo(String value) {
            addCriterion("reportId <>", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidGreaterThan(String value) {
            addCriterion("reportId >", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidGreaterThanOrEqualTo(String value) {
            addCriterion("reportId >=", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidLessThan(String value) {
            addCriterion("reportId <", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidLessThanOrEqualTo(String value) {
            addCriterion("reportId <=", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidLike(String value) {
            addCriterion("reportId like", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidNotLike(String value) {
            addCriterion("reportId not like", value, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidIn(List<String> values) {
            addCriterion("reportId in", values, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidNotIn(List<String> values) {
            addCriterion("reportId not in", values, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidBetween(String value1, String value2) {
            addCriterion("reportId between", value1, value2, "reportid");
            return (Criteria) this;
        }

        public Criteria andReportidNotBetween(String value1, String value2) {
            addCriterion("reportId not between", value1, value2, "reportid");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("userid like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("userid not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andReadIsNull() {
            addCriterion("read is null");
            return (Criteria) this;
        }

        public Criteria andReadIsNotNull() {
            addCriterion("read is not null");
            return (Criteria) this;
        }

        public Criteria andReadEqualTo(Integer value) {
            addCriterion("read =", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadNotEqualTo(Integer value) {
            addCriterion("read <>", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadGreaterThan(Integer value) {
            addCriterion("read >", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadGreaterThanOrEqualTo(Integer value) {
            addCriterion("read >=", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadLessThan(Integer value) {
            addCriterion("read <", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadLessThanOrEqualTo(Integer value) {
            addCriterion("read <=", value, "read");
            return (Criteria) this;
        }

        public Criteria andReadIn(List<Integer> values) {
            addCriterion("read in", values, "read");
            return (Criteria) this;
        }

        public Criteria andReadNotIn(List<Integer> values) {
            addCriterion("read not in", values, "read");
            return (Criteria) this;
        }

        public Criteria andReadBetween(Integer value1, Integer value2) {
            addCriterion("read between", value1, value2, "read");
            return (Criteria) this;
        }

        public Criteria andReadNotBetween(Integer value1, Integer value2) {
            addCriterion("read not between", value1, value2, "read");
            return (Criteria) this;
        }

        public Criteria andFinishtimeIsNull() {
            addCriterion("finishTime is null");
            return (Criteria) this;
        }

        public Criteria andFinishtimeIsNotNull() {
            addCriterion("finishTime is not null");
            return (Criteria) this;
        }

        public Criteria andFinishtimeEqualTo(Date value) {
            addCriterion("finishTime =", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeNotEqualTo(Date value) {
            addCriterion("finishTime <>", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeGreaterThan(Date value) {
            addCriterion("finishTime >", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("finishTime >=", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeLessThan(Date value) {
            addCriterion("finishTime <", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeLessThanOrEqualTo(Date value) {
            addCriterion("finishTime <=", value, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeIn(List<Date> values) {
            addCriterion("finishTime in", values, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeNotIn(List<Date> values) {
            addCriterion("finishTime not in", values, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeBetween(Date value1, Date value2) {
            addCriterion("finishTime between", value1, value2, "finishtime");
            return (Criteria) this;
        }

        public Criteria andFinishtimeNotBetween(Date value1, Date value2) {
            addCriterion("finishTime not between", value1, value2, "finishtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andVIsNull() {
            addCriterion("v is null");
            return (Criteria) this;
        }

        public Criteria andVIsNotNull() {
            addCriterion("v is not null");
            return (Criteria) this;
        }

        public Criteria andVEqualTo(String value) {
            addCriterion("v =", value, "v");
            return (Criteria) this;
        }

        public Criteria andVNotEqualTo(String value) {
            addCriterion("v <>", value, "v");
            return (Criteria) this;
        }

        public Criteria andVGreaterThan(String value) {
            addCriterion("v >", value, "v");
            return (Criteria) this;
        }

        public Criteria andVGreaterThanOrEqualTo(String value) {
            addCriterion("v >=", value, "v");
            return (Criteria) this;
        }

        public Criteria andVLessThan(String value) {
            addCriterion("v <", value, "v");
            return (Criteria) this;
        }

        public Criteria andVLessThanOrEqualTo(String value) {
            addCriterion("v <=", value, "v");
            return (Criteria) this;
        }

        public Criteria andVLike(String value) {
            addCriterion("v like", value, "v");
            return (Criteria) this;
        }

        public Criteria andVNotLike(String value) {
            addCriterion("v not like", value, "v");
            return (Criteria) this;
        }

        public Criteria andVIn(List<String> values) {
            addCriterion("v in", values, "v");
            return (Criteria) this;
        }

        public Criteria andVNotIn(List<String> values) {
            addCriterion("v not in", values, "v");
            return (Criteria) this;
        }

        public Criteria andVBetween(String value1, String value2) {
            addCriterion("v between", value1, value2, "v");
            return (Criteria) this;
        }

        public Criteria andVNotBetween(String value1, String value2) {
            addCriterion("v not between", value1, value2, "v");
            return (Criteria) this;
        }

        public Criteria andLvIsNull() {
            addCriterion("lv is null");
            return (Criteria) this;
        }

        public Criteria andLvIsNotNull() {
            addCriterion("lv is not null");
            return (Criteria) this;
        }

        public Criteria andLvEqualTo(String value) {
            addCriterion("lv =", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotEqualTo(String value) {
            addCriterion("lv <>", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvGreaterThan(String value) {
            addCriterion("lv >", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvGreaterThanOrEqualTo(String value) {
            addCriterion("lv >=", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvLessThan(String value) {
            addCriterion("lv <", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvLessThanOrEqualTo(String value) {
            addCriterion("lv <=", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvLike(String value) {
            addCriterion("lv like", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotLike(String value) {
            addCriterion("lv not like", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvIn(List<String> values) {
            addCriterion("lv in", values, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotIn(List<String> values) {
            addCriterion("lv not in", values, "lv");
            return (Criteria) this;
        }

        public Criteria andLvBetween(String value1, String value2) {
            addCriterion("lv between", value1, value2, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotBetween(String value1, String value2) {
            addCriterion("lv not between", value1, value2, "lv");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNull() {
            addCriterion("deptid is null");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNotNull() {
            addCriterion("deptid is not null");
            return (Criteria) this;
        }

        public Criteria andDeptidEqualTo(String value) {
            addCriterion("deptid =", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotEqualTo(String value) {
            addCriterion("deptid <>", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThan(String value) {
            addCriterion("deptid >", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThanOrEqualTo(String value) {
            addCriterion("deptid >=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThan(String value) {
            addCriterion("deptid <", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThanOrEqualTo(String value) {
            addCriterion("deptid <=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLike(String value) {
            addCriterion("deptid like", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotLike(String value) {
            addCriterion("deptid not like", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidIn(List<String> values) {
            addCriterion("deptid in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotIn(List<String> values) {
            addCriterion("deptid not in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidBetween(String value1, String value2) {
            addCriterion("deptid between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotBetween(String value1, String value2) {
            addCriterion("deptid not between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andReportIsNull() {
            addCriterion("report is null");
            return (Criteria) this;
        }

        public Criteria andReportIsNotNull() {
            addCriterion("report is not null");
            return (Criteria) this;
        }

        public Criteria andReportEqualTo(String value) {
            addCriterion("report =", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportNotEqualTo(String value) {
            addCriterion("report <>", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportGreaterThan(String value) {
            addCriterion("report >", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportGreaterThanOrEqualTo(String value) {
            addCriterion("report >=", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportLessThan(String value) {
            addCriterion("report <", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportLessThanOrEqualTo(String value) {
            addCriterion("report <=", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportLike(String value) {
            addCriterion("report like", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportNotLike(String value) {
            addCriterion("report not like", value, "report");
            return (Criteria) this;
        }

        public Criteria andReportIn(List<String> values) {
            addCriterion("report in", values, "report");
            return (Criteria) this;
        }

        public Criteria andReportNotIn(List<String> values) {
            addCriterion("report not in", values, "report");
            return (Criteria) this;
        }

        public Criteria andReportBetween(String value1, String value2) {
            addCriterion("report between", value1, value2, "report");
            return (Criteria) this;
        }

        public Criteria andReportNotBetween(String value1, String value2) {
            addCriterion("report not between", value1, value2, "report");
            return (Criteria) this;
        }

        public Criteria andReportchartsIsNull() {
            addCriterion("reportCharts is null");
            return (Criteria) this;
        }

        public Criteria andReportchartsIsNotNull() {
            addCriterion("reportCharts is not null");
            return (Criteria) this;
        }

        public Criteria andReportchartsEqualTo(String value) {
            addCriterion("reportCharts =", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsNotEqualTo(String value) {
            addCriterion("reportCharts <>", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsGreaterThan(String value) {
            addCriterion("reportCharts >", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsGreaterThanOrEqualTo(String value) {
            addCriterion("reportCharts >=", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsLessThan(String value) {
            addCriterion("reportCharts <", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsLessThanOrEqualTo(String value) {
            addCriterion("reportCharts <=", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsLike(String value) {
            addCriterion("reportCharts like", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsNotLike(String value) {
            addCriterion("reportCharts not like", value, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsIn(List<String> values) {
            addCriterion("reportCharts in", values, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsNotIn(List<String> values) {
            addCriterion("reportCharts not in", values, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsBetween(String value1, String value2) {
            addCriterion("reportCharts between", value1, value2, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportchartsNotBetween(String value1, String value2) {
            addCriterion("reportCharts not between", value1, value2, "reportcharts");
            return (Criteria) this;
        }

        public Criteria andReportofbreathIsNull() {
            addCriterion("reportOfBreath is null");
            return (Criteria) this;
        }

        public Criteria andReportofbreathIsNotNull() {
            addCriterion("reportOfBreath is not null");
            return (Criteria) this;
        }

        public Criteria andReportofbreathEqualTo(String value) {
            addCriterion("reportOfBreath =", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathNotEqualTo(String value) {
            addCriterion("reportOfBreath <>", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathGreaterThan(String value) {
            addCriterion("reportOfBreath >", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathGreaterThanOrEqualTo(String value) {
            addCriterion("reportOfBreath >=", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathLessThan(String value) {
            addCriterion("reportOfBreath <", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathLessThanOrEqualTo(String value) {
            addCriterion("reportOfBreath <=", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathLike(String value) {
            addCriterion("reportOfBreath like", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathNotLike(String value) {
            addCriterion("reportOfBreath not like", value, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathIn(List<String> values) {
            addCriterion("reportOfBreath in", values, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathNotIn(List<String> values) {
            addCriterion("reportOfBreath not in", values, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathBetween(String value1, String value2) {
            addCriterion("reportOfBreath between", value1, value2, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofbreathNotBetween(String value1, String value2) {
            addCriterion("reportOfBreath not between", value1, value2, "reportofbreath");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatIsNull() {
            addCriterion("reportOfHeartBeat is null");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatIsNotNull() {
            addCriterion("reportOfHeartBeat is not null");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatEqualTo(String value) {
            addCriterion("reportOfHeartBeat =", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatNotEqualTo(String value) {
            addCriterion("reportOfHeartBeat <>", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatGreaterThan(String value) {
            addCriterion("reportOfHeartBeat >", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatGreaterThanOrEqualTo(String value) {
            addCriterion("reportOfHeartBeat >=", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatLessThan(String value) {
            addCriterion("reportOfHeartBeat <", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatLessThanOrEqualTo(String value) {
            addCriterion("reportOfHeartBeat <=", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatLike(String value) {
            addCriterion("reportOfHeartBeat like", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatNotLike(String value) {
            addCriterion("reportOfHeartBeat not like", value, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatIn(List<String> values) {
            addCriterion("reportOfHeartBeat in", values, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatNotIn(List<String> values) {
            addCriterion("reportOfHeartBeat not in", values, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatBetween(String value1, String value2) {
            addCriterion("reportOfHeartBeat between", value1, value2, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofheartbeatNotBetween(String value1, String value2) {
            addCriterion("reportOfHeartBeat not between", value1, value2, "reportofheartbeat");
            return (Criteria) this;
        }

        public Criteria andReportofhrvIsNull() {
            addCriterion("reportOfHRV is null");
            return (Criteria) this;
        }

        public Criteria andReportofhrvIsNotNull() {
            addCriterion("reportOfHRV is not null");
            return (Criteria) this;
        }

        public Criteria andReportofhrvEqualTo(String value) {
            addCriterion("reportOfHRV =", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvNotEqualTo(String value) {
            addCriterion("reportOfHRV <>", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvGreaterThan(String value) {
            addCriterion("reportOfHRV >", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvGreaterThanOrEqualTo(String value) {
            addCriterion("reportOfHRV >=", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvLessThan(String value) {
            addCriterion("reportOfHRV <", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvLessThanOrEqualTo(String value) {
            addCriterion("reportOfHRV <=", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvLike(String value) {
            addCriterion("reportOfHRV like", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvNotLike(String value) {
            addCriterion("reportOfHRV not like", value, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvIn(List<String> values) {
            addCriterion("reportOfHRV in", values, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvNotIn(List<String> values) {
            addCriterion("reportOfHRV not in", values, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvBetween(String value1, String value2) {
            addCriterion("reportOfHRV between", value1, value2, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofhrvNotBetween(String value1, String value2) {
            addCriterion("reportOfHRV not between", value1, value2, "reportofhrv");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedIsNull() {
            addCriterion("reportOfOffbed is null");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedIsNotNull() {
            addCriterion("reportOfOffbed is not null");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedEqualTo(String value) {
            addCriterion("reportOfOffbed =", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedNotEqualTo(String value) {
            addCriterion("reportOfOffbed <>", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedGreaterThan(String value) {
            addCriterion("reportOfOffbed >", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedGreaterThanOrEqualTo(String value) {
            addCriterion("reportOfOffbed >=", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedLessThan(String value) {
            addCriterion("reportOfOffbed <", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedLessThanOrEqualTo(String value) {
            addCriterion("reportOfOffbed <=", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedLike(String value) {
            addCriterion("reportOfOffbed like", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedNotLike(String value) {
            addCriterion("reportOfOffbed not like", value, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedIn(List<String> values) {
            addCriterion("reportOfOffbed in", values, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedNotIn(List<String> values) {
            addCriterion("reportOfOffbed not in", values, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedBetween(String value1, String value2) {
            addCriterion("reportOfOffbed between", value1, value2, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofoffbedNotBetween(String value1, String value2) {
            addCriterion("reportOfOffbed not between", value1, value2, "reportofoffbed");
            return (Criteria) this;
        }

        public Criteria andReportofsleepIsNull() {
            addCriterion("reportOfSleep is null");
            return (Criteria) this;
        }

        public Criteria andReportofsleepIsNotNull() {
            addCriterion("reportOfSleep is not null");
            return (Criteria) this;
        }

        public Criteria andReportofsleepEqualTo(String value) {
            addCriterion("reportOfSleep =", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepNotEqualTo(String value) {
            addCriterion("reportOfSleep <>", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepGreaterThan(String value) {
            addCriterion("reportOfSleep >", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepGreaterThanOrEqualTo(String value) {
            addCriterion("reportOfSleep >=", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepLessThan(String value) {
            addCriterion("reportOfSleep <", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepLessThanOrEqualTo(String value) {
            addCriterion("reportOfSleep <=", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepLike(String value) {
            addCriterion("reportOfSleep like", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepNotLike(String value) {
            addCriterion("reportOfSleep not like", value, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepIn(List<String> values) {
            addCriterion("reportOfSleep in", values, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepNotIn(List<String> values) {
            addCriterion("reportOfSleep not in", values, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepBetween(String value1, String value2) {
            addCriterion("reportOfSleep between", value1, value2, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andReportofsleepNotBetween(String value1, String value2) {
            addCriterion("reportOfSleep not between", value1, value2, "reportofsleep");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoIsNull() {
            addCriterion("userBaseInfo is null");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoIsNotNull() {
            addCriterion("userBaseInfo is not null");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoEqualTo(String value) {
            addCriterion("userBaseInfo =", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoNotEqualTo(String value) {
            addCriterion("userBaseInfo <>", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoGreaterThan(String value) {
            addCriterion("userBaseInfo >", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoGreaterThanOrEqualTo(String value) {
            addCriterion("userBaseInfo >=", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoLessThan(String value) {
            addCriterion("userBaseInfo <", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoLessThanOrEqualTo(String value) {
            addCriterion("userBaseInfo <=", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoLike(String value) {
            addCriterion("userBaseInfo like", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoNotLike(String value) {
            addCriterion("userBaseInfo not like", value, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoIn(List<String> values) {
            addCriterion("userBaseInfo in", values, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoNotIn(List<String> values) {
            addCriterion("userBaseInfo not in", values, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoBetween(String value1, String value2) {
            addCriterion("userBaseInfo between", value1, value2, "userbaseinfo");
            return (Criteria) this;
        }

        public Criteria andUserbaseinfoNotBetween(String value1, String value2) {
            addCriterion("userBaseInfo not between", value1, value2, "userbaseinfo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}